The Dreamweaver JavaScript API > Window functions > dreamweaver.setActiveWindow()

 

dreamweaver.setActiveWindow()

Availability

Dreamweaver 3.0

Description

Activates the window containing the specified document.

Arguments

documentObject, {bActivateFrame}

documentObject is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()).
bActivateFrame, applicable only if documentObject is inside a frameset, is a Boolean value indicating whether to activate the frame that contains the document as well as the window that contains the frameset.

Returns

Nothing.

Enabler

None.